#include "QtWidgetsApplication1.h"
#include <QtWidgets/QApplication>
#include "LoginDlg.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    LoginDlg login;

    QtWidgetsApplication1* w;

    if (login.exec() == QDialog::Accepted)
    {
		w = new QtWidgetsApplication1;
		w->show();
    }

    
    return a.exec();
}
